<html xmlns:th="http://www.w3.org/1999/xhtml" xmlns:layout="http://www.w3.org/1999/xhtml"
      layout:decorator="user/user_layout"
      th:with="flag='official_register'">

<head>
    <title>提交申请材料</title>
</head>

<div layout:fragment="content">
    <!--<h1 th:text="${remind?.desc}"></h1>-->
    <input type="hidden" data-is-official="true"/>
    <div class="main-register official settled-mall">
        <div class="register-panel">
            <div class="caption">
                <h1>平台入驻</h1>
            </div>

            <div class="step-bar-container two-step">
                <div class="step-progress">
                    <div class="bar" data-pointing="1"></div>
                </div>
                <ul class="steps">
                    <li data-current="true" data-step="1" class="current">
                        <div>
                            <div class="circle">
                                <i class="fa fa-check"></i>
                            </div>

                            <p>填写平台信息</p>
                        </div>
                    </li>
                    <li data-current="false" data-step="3" class="yet">
                        <div>
                            <div class="circle">
                                2
                            </div>

                            <p>申请成功</p>
                        </div>
                    </li>
                </ul>
            </div>
            <div>
                <p th:text="${errorMsg}"></p>
            </div>
            <form th:action="${routes.path('MALL_SETTLED_DO')}" method="POST" autocomplete="off">

                <div class="" data-step="1">
                    <div>
                        <label>公司名称</label>
                        <div class="input-row">
                            <input type="text" name="companyName" th:value="${flashData?.companyName}"  placeholder="请输入您的企业名称"/>
                            <i class="fa fa-times"></i>
                        </div>
                    </div>
                    <div>
                        <label>平台名称</label>
                        <div class="input-row">
                            <input type="text" name="name" th:value="${flashData?.name}" placeholder="请输入您需要创建的平台名称"/>
                            <i class="fa fa-times"></i>
                        </div>
                    </div>
                    <div class="hostname">
                        <label>域名地址</label>
                        <div class="input-row">
                            <input type="text" name="hostname" th:value="${flashData?.hostname}" placeholder="请输入您的域名地址"/>
                            <i class="fa fa-times"></i>
                        </div>
                        <p>
                            例如：***.m.rockcent.com，您只需填写*部分，其他我们会统一配置为 <br />
                            <span>***.b.rockcent.com</span><br />
                            <span>***.c.rockcent.com</span>
                        </p>
                    </div>
                    <div>
                        <label>联系人</label>
                        <div class="input-row">
                            <input type="text" name="userInfoRealName" th:value="${mall?.userInfoRealName}"
                                   placeholder="请输入联系人姓名"/>
                            <i class="fa fa-times"></i>
                        </div>
                    </div>
                    <div class="for-mobile">
                        <label>联系人手机</label>
                        <div class="input-row">
                            <input type="text" name="userInfoMobile" th:value="${mallDto?.userInfoMobile}"
                                   placeholder="请输入手机号码，可用于登录或找回密码"/>
                            <i class="fa fa-times"></i>
                        </div>
                    </div>
<!--                    <div th:if="${userInfo.registerType?.toString()=='EMAIL'}">
                        <label>验证码</label>

                        <div class="input-row">
                            <input type="text" class="captcha-input" name="captcha" placeholder="请输入手机验证码"/>
                            <button class="get-captcha">获取手机验证码</button>
                        </div>
                    </div>-->
                    <div class="for-email">
                        <label>联系人邮箱</label>
                        <div class="input-row">
                            <input type="text" name="userInfoEmail" th:value="${mallDto?.userInfoEmail}" placeholder="请输入邮箱地址，可用于登录或找回密码"/>
                            <i class="fa fa-times"></i>
                        </div>
                    </div>

<!--                    <div th:if="${userInfo.registerType?.toString()=='MOBILE'}">
                        <label>验证码</label>

                        <div class="input-row">
                            <input type="text" class="captcha-input" name="captcha" placeholder="请输入邮箱验证码"/>
                            <button class="get-captcha">获取邮箱证码</button>
                        </div>
                    </div>-->
                    <div class="btns">
                        <input type="submit" value="下一步" class="btn-rockcent"/>
                    </div>
                </div>

                <p class="error"></p>
            </form>
        </div>
    </div>
</div>
</html>


